package cn.bs.accommodate.caseVO;

/**
 * Created by ROC on 2014-10-16.
 */
public class Dog extends Animal{
    public Dog(){
        System.out.println("call Dog.无参构调方法");
    }
    static {
        System.out.println("call Dog.静态块");
    }
    public String tag;
    private String name;
    public Dog(String name){//aaa
        this.name = name;
    }

    public void action() {
        System.out.println(this.name + " ----------action--------------");
    }

    public void privateMethod(){
        System.out.println(this.name + " ----------privateMethod--------------");
    }
}
